<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8">
    <link rel="icon" href="/favicon.ico">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Flower</title>
  </head>
  <body>
    <div id="app"></div>
    <script type="module" src="/src/main.js"></script>
  </body>
</html>
<script type="text/javascript">
  // // 获取ip地址
  // fetch('https://api.ipify.org?format=json').then(response => response.json()).then(data => {
  //   const ip = data.ip
  //   //通过ip地址获取归属地
  //   fetch(`https://api.vore.top/api/IPdata?ip=${ip}`).then((res) => res.json().then((data) => {
  //           //ip和归属地存入localStorage
  //         console.log(data)
  //         window.localStorage.setItem('ip',ip)
  //         const address=data.ipdata.info1+"-"+data.ipdata.info2+"-"+data.ipdata.info3
  //         window.localStorage.setItem('address',address)
  //       })
  //     )
  // })
  // .catch(error => { console.error(error) })


</script>
